package global

import (
	"github.com/ifnk/micro-blog/internal/pkg/config"
	"github.com/ifnk/micro-blog/internal/pkg/log"
	"github.com/ifnk/micro-blog/protobuf/comment_pb"
	"github.com/ifnk/micro-blog/protobuf/dict_pb"
	"github.com/ifnk/micro-blog/protobuf/permission_pb"
	"github.com/ifnk/micro-blog/protobuf/post_pb"
)

// 全局变量
var (
	UserClient               permission_pb.UserServiceClient
	UserRltAuthServiceClient permission_pb.UserRltAuthorityServiceClient
	AuthorityClient          permission_pb.AuthorityServiceClient
	MenuClient               permission_pb.MenuServiceClient
	ApiClient                permission_pb.ApiServiceClient
	CasbinClient             permission_pb.CasbinServiceClient

	DictClient       dict_pb.DictServiceClient
	DictDetailClient dict_pb.DictDetailServiceClient

	PostClient    post_pb.PostServiceClient
	CommentClient comment_pb.CommentServiceClient

	Logger *log.Logger
	Conf   *config.Config
)
